ν-types for Effects and Freshness Analysis
نویسندگان
چکیده
We define a type and effect system for a λ-calculus extended with side effects, in the form of primitives for creating and accessing resources. The analysis correctly over-approximates the sequences of resource accesses performed by a program at run-time. To accurately analyse the binding between the creation of a resource and its accesses, our system exploits a new class of types. Our ν-types have the form νN. τ⊲H, where the names in N are bound both in the type τ and in the effect H, that represents the sequences of resource accesses.
منابع مشابه
Effect of Environmental and Management Factors on Atriplex Freshness and Growth (Case Study: Hossein Abad Hapeshloo, Shahriyar, Iran).
Some of arid regions problems of Iran are saline and sodic soils. In improvement and reclamation of Iranian arid rangelands, some foreign species of Atriplex had been imported and adapted for many years ago. The most adapted species was Atriplex canescens. At the present research, some environmental factors, vegetative characteristics (Na, Ca, Mg and K), soil properties (moisture, EC, pH, solut...
متن کاملApplication of pH Indicator Label Based on Beetroot Color for Determination of Milk Freshness
Introduction: Applying of a new indicator in food packaging can be effective to inform consumers about the freshness and quality of the products. Materials and Methods: In the current study, a new milk freshness label was investigated containing beetroot color and multi layers of polystyrene. The label characteristics were investigated by estimating color number, release test, and scanning ele...
متن کاملLuminance distribution modifies the perceived freshness of strawberries
Material perception studies focus on the analysis of visual cues that may underlie the ability to distinguish between the different properties of an object. Herein, we investigated the effects of luminance distribution on the perceived freshness of a strawberry independent from its colour information. We took photographs of the degradation of a strawberry over 169 hours in a controlled environm...
متن کاملNon-destructive egg freshness determination: an electronic nose based approach
An electronic nose (EN) based system, which employs an array of four inexpensive commercial tin-oxide odour sensors, has been used to analyse the state of freshness of eggs. Measurements were taken from the headspace of four sets of eggs over a period of 20–40 days, two ‘types of egg data’ being gathered using our EN; one type of ‘data’ related to eggs without a hole in the shells and the other...
متن کاملCombining image processing technique and three artificial intelligence methods to recognize the freshness of freshwater shrimp
Since seafood is highly susceptible to corruption, it is important to check their storage and shelf-life time. In this research, image processing technology was used to recognize the freshness (time lasted of catching) of shrimps. Shrimp samples were randomly selected from shrimp farming pools and stored in three storage conditions: freezer, refrigerator, and cool environments. Images were take...
متن کامل